package com.hlkj.pay.app.merchant.ext.impl.huifu.dto.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.util.json.JsonUtils;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/10/17 13:13
 */
@Data
public class HuiFuPayOrderQueryDto extends HuiFuPayOrderResponseDto{
	
	/**
	 * org_req_date : 20241012
	 * batch_id : 241012
	 * bank_desc : 交易成功
	 * wx_response : {"bank_type":"OTHERS","openid":"o8jhotzroVqIjFgT6qfqWhRBf5aI","sub_appid":"","sub_openid":"oNoh15WfyH6HKEBdOeABkc8UMga0"}
	 * bank_seq_id : 387107
	 * trans_amt : 29.80
	 * fee_type : INNER
	 * trans_fee_allowance_info : {}
	 * acct_id : F03051200
	 * delay_acct_flag : N
	 * org_req_seq_id : 202410121227387107
	 * settlement_amt : 29.80
	 * channel_type : U
	 * acct_split_bunch : {"acct_infos":[{"acct_id":"F03051200","div_amt":"29.80","huifu_id":"6666000152001883"}]}
	 * fee_amt : 0.11
	 * is_clean_split : N
	 * atu_sub_mer_id : 660304591
	 * trans_type : T_JSAPI
	 * bank_code : SUCCESS
	 * pay_amt : 29.80
	 * trans_stat : S
	 * org_hf_seq_id : 002900TOP1B241012122746P950ac139c8d00000
	 * end_time : 20241012122756
	 * ref_no : 122746387107
	 * trans_time : 122757
	 * acct_stat : S
	 * div_flag : N
	 * out_trans_id : 4200002337202410124223111762
	 * party_order_id : 03232410124486708609311
	 * bagent_id : 6666000147370807
	 * wx_user_id :
	 * fee_formula_infos : [{"fee_formula":"MAX(0.00,AMT*0.0038)","fee_type":"TRANS_FEE"}]
	 * mer_name : 海口龙华区映耀工艺品工作室
	 * acct_date : 20241012
	 * fee_huifu_id : 6666000152001883
	 */
	
	private String org_req_date;
	private String batch_id;
	private String bank_desc;
	private String wx_response;
	private String bank_seq_id;
	private String trans_amt;
	private String fee_type;
	private String trans_fee_allowance_info;
	private String acct_id;
	private String delay_acct_flag;
	private String org_req_seq_id;
	private String settlement_amt;
	private String channel_type;
	private String acct_split_bunch;
	private String fee_amt;
	private String is_clean_split;
	private String atu_sub_mer_id;
	private String trans_type;
	private String bank_code;
	private String pay_amt;
	private String trans_stat;
	private String org_hf_seq_id;
	private String end_time;
	private String ref_no;
	private String trans_time;
	private String acct_stat;
	private String div_flag;
	private String out_trans_id;
	private String party_order_id;
	private String bagent_id;
	private String wx_user_id;
	private String fee_formula_infos;
	private String mer_name;
	private String acct_date;
	private String fee_huifu_id;
	private String qr_code;
	private String pay_info;
	/**
	 * bank_code : TRADE_SUCCESS
	 * org_req_date : 20210923
	 * resp_desc : 成功
	 * trans_stat : S
	 * bank_desc : TRADE_SUCCESS
	 * org_hf_seq_id : 00290TOP1GR210923152444P297ac13262200000
	 * end_time : 20210923152445
	 * trans_amt : 0.02
	 * trans_time : 152446
	 * fee_type : INNER
	 * div_flag : Y
	 * alipay_response : {"buyer_id":"2088802149333153","buyer_logon_id":"109***%40qq.com"}
	 * delay_acct_flag : Y
	 * org_req_seq_id : 202109237745559
	 * out_trans_id : 262021092322001433151443427606
	 * party_order_id : 03242109235548445903889
	 * bagent_id : 6666000020720949
	 * resp_code : 00000000
	 * debit_type : O
	 * settlement_amt : 0.02
	 * huifu_id : 6666000018328947
	 * acct_date : 20210923
	 * fee_amt : 0.00
	 * trans_type : A_MICROPAY
	 */
	
	// private String bank_code;
	// private String org_req_date;
	// private String trans_stat;
	// private String bank_desc;
	// private String org_hf_seq_id;
	// private String end_time;
	// private String trans_amt;
	// private String trans_time;
	// private String fee_type;
	// private String div_flag;
	 private String alipay_response;
	// private String delay_acct_flag;
	// private String org_req_seq_id;
	// private String out_trans_id;
	// private String party_order_id;
	// private String bagent_id;
	//
	// private String debit_type;
	// private String settlement_amt;
	//
	// private String acct_date;
	// private String fee_amt;
	// private String trans_type;
	// private String atu_sub_mer_id;
	// private String qr_code;
	// private String pay_info;
	
	public static void main(String[] args) {
		String json="{\"org_req_date\":\"20241012\",\"batch_id\":\"241012\",\"bank_desc\":\"交易成功\",\"wx_response\":\"{\\\"bank_type\\\":\\\"OTHERS\\\",\\\"openid\\\":\\\"o8jhotzroVqIjFgT6qfqWhRBf5aI\\\",\\\"sub_appid\\\":\\\"\\\",\\\"sub_openid\\\":\\\"oNoh15WfyH6HKEBdOeABkc8UMga0\\\"}\",\"bank_seq_id\":\"387107\",\"trans_amt\":\"29.80\",\"fee_type\":\"INNER\",\"trans_fee_allowance_info\":\"{}\",\"acct_id\":\"F03051200\",\"delay_acct_flag\":\"N\",\"org_req_seq_id\":\"202410121227387107\",\"settlement_amt\":\"29.80\",\"channel_type\":\"U\",\"acct_split_bunch\":\"{\\\"acct_infos\\\":[{\\\"acct_id\\\":\\\"F03051200\\\",\\\"div_amt\\\":\\\"29.80\\\",\\\"huifu_id\\\":\\\"6666000152001883\\\"}]}\",\"fee_amt\":\"0.11\",\"is_clean_split\":\"N\",\"atu_sub_mer_id\":\"660304591\",\"trans_type\":\"T_JSAPI\",\"bank_code\":\"SUCCESS\",\"pay_amt\":\"29.80\",\"resp_desc\":\"查询成功\",\"trans_stat\":\"S\",\"org_hf_seq_id\":\"002900TOP1B241012122746P950ac139c8d00000\",\"end_time\":\"20241012122756\",\"ref_no\":\"122746387107\",\"trans_time\":\"122757\",\"acct_stat\":\"S\",\"div_flag\":\"N\",\"out_trans_id\":\"4200002337202410124223111762\",\"party_order_id\":\"03232410124486708609311\",\"bagent_id\":\"6666000147370807\",\"wx_user_id\":\"\",\"fee_formula_infos\":\"[{\\\"fee_formula\\\":\\\"MAX(0.00,AMT*0.0038)\\\",\\\"fee_type\\\":\\\"TRANS_FEE\\\"}]\",\"resp_code\":\"00000000\",\"huifu_id\":\"6666000152001883\",\"mer_name\":\"海口龙华区映耀工艺品工作室\",\"acct_date\":\"20241012\",\"fee_huifu_id\":\"6666000152001883\"}";
		System.out.println(JsonUtils.parseObject(json,HuiFuPayOrderQueryDto.class));
	}
	
}
